Skip to content

Instantly share code, notes, and snippets.

@saschb2b
saschb2b / apply_indx_025.py
Created October 16, 2026 09:15
0.25mm Nozzle Profile - Core One INDX
"""Enable the 0.25 mm nozzle on the Prusa CORE One INDX in PrusaSlicer 3.
PrusaSlicer 3 (alpha) does not offer the 0.25 mm nozzle for the INDX yet,
although Prusa's profiles already contain most of what is needed. This
script patches the installed Prusa profiles so that a 0.25 tool can be
selected (or synced from Prusa Connect) and gets print and filament profiles.
What it changes, in PrusaSlicer's config folder under
presets/local/prusa-research-fff/PrusaResearch:
@nledenyi
nledenyi / viessmann-opentherm-public.md
Last active October 16, 2026 23:58
Viessmann Vitodens 100-W B1HG - Local OpenTherm control via ESP32/ESPHome (bypassing Viessmann cloud paywall)

Viessmann Vitodens 100-W B1HG - Local OpenTherm control via ESP32/ESPHome (bypassing Viessmann cloud paywall)

Status: Implemented and running. Document reflects the working configuration as of April 2026, including Viessmann-specific quirks discovered during deployment.

Viessmann Vitodens 100-W B1HG - Local Control via OpenTherm

1. Background & Root Cause Analysis

The Problem: Viessmann Cloud API Paywall

{
"dns": {
"hosts": {
"domain:googleapis.cn": "googleapis.com",
"dns.alidns.com": [
"223.5.5.5",
"223.6.6.6",
"2400:3200::1",
"2400:3200:baba::1"
],
@Jack-tendy-538
Jack-tendy-538 / ciif规范.md
Created October 16, 2026 23:50
二次元人物形象编码规范

二次元人物形象编码规范(初稿 v0.1)

本规范基于此前讨论整理,用于将二次元人物形象编码为可解析、可比较、可扩展的字符串。
未定义项以 TODO 标注。


1. 范围

本规范定义:

@barraIhsan
barraIhsan / 8BitDoUltimate2Wireless.md
Last active October 16, 2026 23:45
8BitDo Ultimate 2 Wireless on GNU/Linux, SteamOS, and Windows

Most of the source comes from: Steam Beta Forum

Thank you so much to everyone in the forum for contributing, for reaching out to 8BitDo to request switching between XInput/DInput/Switch mode on the dongle, to Valve for adding support on DInput mode, to the SDL developers (and 8bitdo) for adding support on DInput mode, and finally, to the Linux kernel developers for adding support on XInput mode.

This gist summarizes everything from that forum.

Switching Mode

So after the latest firmware update (as the time of writing: Controller 1.06, Adapter 1.04), its now possible to switch to DInput and Switch mode by holding B (DInput) or Y (Switch) while turning on t

@Chubek
Chubek / README.md
Created March 29, 2024 14:29
This is, hands-down, the best way to convert PDFs to EPUB (or any other format)

This document describes several shell pipelines for converting PDF files to any format.

I'm not sure if it's true for all people, but my e-reader sucks at displaying PDF --- which is, in all reality, a giant executable file (we'll discuss this soon). Also, there's dozens of other reasons one may wish to convert a PDF to a better 'text format'. Let's say, you wanna put it up on your website, feed it to a mathematical optimization model, feed it to an script, etc.

Before you read this document, yes, I know there is a utility, nay, dozens that converty PDFs directly to text (like pdftotext). I ALSO know that. there are millions, if not BILLIONS of crappy web services that serve you a malware on the platter alongisde converting the files. So let's not talk about them! It's about "owning" your software, read this!

What are PDF Files?

This is not meant to be a description or history of PDF files, you can consult Sahih Al-Bukhari f

@romanwilson-io2092r4
romanwilson-io2092r4 / Purranoia-Trainer.md
Created October 16, 2026 21:11
Purranoia Trainer for Windows with premium visuals, reusable profiles, configurable hotkeys, screenshot assets and a strong CTA-driven README.

Download Purranoia Trainer

Purranoia hero

Repository badges

Purranoia Trainer

A Windows-first repository layout for Purranoia with clean UI mockups, reusable profiles, hotkeys and screenshot-driven presentation.

@xinyadu
xinyadu / 0-claude-code-slack-hook.md
Last active October 16, 2026 23:39
claude-code-slack-stop-hook.json

Slack ping when a long Claude Code turn finishes

A Claude Code hook that posts to Slack when a turn takes longer than two minutes, so you can walk away from long agent runs and get pulled back when they're done.

Install

  1. Save 1-notify-long-turn.sh to ~/.claude/hooks/notify-long-turn.sh, then chmod +x it.
@mstevenson
mstevenson / ConfigurableJointExtensions.cs
Created October 24, 2014 07:14
Extension methods for working with Configurable Joints for Unity
using UnityEngine;
public static class ConfigurableJointExtensions
{
/// <summary>
/// Sets a joint's targetRotation to match a given local rotation.
/// The joint transform's local rotation must be cached on Start and passed into this method.
/// </summary>
public static void SetTargetRotationLocal (this ConfigurableJoint joint, Quaternion targetLocalRotation, Quaternion startLocalRotation)
{
@clouedoc
clouedoc / Migrating from Arc to Zen Browser.md
Created September 20, 2024 08:57
Migrating from Arc to Zen Browser

A guide to leaving Arc for Zen Browser

The problem with Arc is that it doesn't allow exporting data (history, bookmarks) to a file natively.

One way to do this is to use a script but that only exports Bookmarks and not the history.

I don't really use the bookmarks feature that much; what I really liked about Arc was that it was really easy to navigate to somewhere I already visited.

So, if you're like me, follow this guide and you'll be able to import your browsing history into Zen browser!